//
//  QXViewController.m
//  H5Manager
//
//  Created by suncong on 12/29/2016.
//  Copyright (c) 2016 suncong. All rights reserved.
//

#import "QXViewController.h"
#import "H5ManagerServices.h"
@interface QXViewController ()

@end

@implementation QXViewController

- (void)viewDidLoad
{
    [super viewDidLoad];
	// Do any additional setup after loading the view, typically from a nib.
}
- (IBAction)action:(id)sender {
    
    NSString *url = @"http://www.baidu.com";
    NSString *title = @"计价规则";
    //计价规则
    H5ManagerServices *service = [[H5ManagerServices alloc]init];
    UIViewController * webVc = [service getH5ViewControllerWithURL:url andTitle:title];
    [service setH5TitleFont:[UIFont systemFontOfSize:25] andColor:[UIColor redColor]];
    
    [self.navigationController pushViewController:webVc animated:YES];
    
}

- (void)didReceiveMemoryWarning
{
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
